<?

echo "<h3 class='rubrik'>Forældrer</h3>";
if(!empty($element_data['individ']['foraeldrer'])) {
	foreach($element_data['individ']['foraeldrer'] as $parent) {
		if(in_array($parent['id'],$seEle)) {
			echo "<p>- ".anchor("almanak/side/".$parent['id'],$parent['navn'],"class='ink fade-link' id='".$parent['id']."'")."</p>"; 
		}

	}
}
else { echo "<p class='rubrik'>Ophav ikke dokumenteret</p>"; }


echo "<h3 class='rubrik'>Søskende</h3>";
if(!empty($element_data['individ']['soeskende'])) {
	foreach($element_data['individ']['soeskende'] as $sib) {
		if(in_array($sib['id'],$seEle)) {
			echo "<p>- ".anchor("almanak/side/".$sib['id'],$sib['navn'],"class='ink fade-link' id='".$sib['id']."'")."</p>"; 
		}
	}
}
else { echo "<p class='rubrik'>Ingen søskende dokumenteret</p>"; }

if(!empty($element_data['individ']['boern'])) {
	echo "<h3 class='rubrik'>Børn</h3>";
	foreach($element_data['individ']['boern'] as $child) {
		if(in_array($child['id'],$seEle)) {
			echo "<p>- ".anchor("almanak/side/".$child['id'],$child['navn'],"class='ink fade-link' id='".$child['id']."'")."</p>"; 
		}
	}
}
//$element_data['foraeldrer'],$element_data['boern']


?>




